package test.echarts.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import test.echarts.entity.Qiti;
import test.echarts.service.QitiService;

import java.util.List;

/**
 * @Author:linsong
 * @Date:2023/7/5 22:54
 * @Project:echarts
 * @Package:test.echarts.controller
 * @Class:QitiController
 * @Description:
 */
@RestController
@RequestMapping("qiti")
public class QitiController {
    @Autowired
    private QitiService qitiService;

    @RequestMapping("list")
    public List<Qiti> list(){
        return qitiService.list();
    }
}
